package com.zh.web.domain.auth.vo;


import com.zh.web.domain.auth.entity.Permission;
import com.zh.web.domain.auth.entity.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "角色返回信息")
public class RoleVo extends Role implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "权限集合")
    private List<Permission> permissionList=new ArrayList<>();
}
